package com.masterviame.Authc.mapper;

import com.masterviame.Authc.pojo.Permission;

import java.util.List;

/**
 * Created by mastervictory on 2017/12/13.
 */
public interface PermissionMapper {
    List<Permission> getPermissions();
    void addpermission(Permission permission);
    void stopPermission(long pid);
    Permission getPermissionByid(long pid);
    Permission updatePermission(Permission permission);
    void deletePermissionsByid(long permissionid);
}
